.class Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;
.super Ljava/lang/Object;
.source "FootprintDetailEditActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnKeyListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1284
    iput-object p1, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onKey(Landroid/content/DialogInterface;ILandroid/view/KeyEvent;)Z
    .locals 3
    .parameter "dlg"
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v1, 0x4

    const-string v2, "FootprintDetailEditActivity"

    .line 1285
    iget-object v0, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v0}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$800(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    if-ne p1, v0, :cond_0

    if-ne p2, v1, :cond_0

    .line 1286
    const-string v0, "FootprintDetailEditActivity"

    const-string v0, "keyCode = KEYCODE_BACK"

    invoke-static {v2, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1287
    iget-object v0, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    invoke-static {v0}, Lcom/htc/android/footprints/utils/TitleGenerator;->getInstance(Landroid/content/Context;)Lcom/htc/android/footprints/utils/TitleGenerator;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/utils/TitleGenerator;->stopTitleSearch()V

    .line 1288
    iget-object v0, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->progressDialog:Landroid/app/ProgressDialog;
    invoke-static {v0}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$800(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->cancel()V

    .line 1289
    const/4 v0, 0x1

    .line 1296
    :goto_0
    return v0

    .line 1291
    :cond_0
    iget-object v0, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->mListDialog:Lcom/htc/widget/HtcAlertDialog;
    invoke-static {v0}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$2700(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Lcom/htc/widget/HtcAlertDialog;

    move-result-object v0

    if-ne p1, v0, :cond_1

    if-ne p2, v1, :cond_1

    .line 1292
    const-string v0, "FootprintDetailEditActivity"

    const-string v0, "dialog back key"

    invoke-static {v2, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 1293
    iget-object v0, p0, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity$15;->this$0:Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;

    #getter for: Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->locationText:Landroid/widget/TextView;
    invoke-static {v0}, Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;->access$1600(Lcom/htc/android/footprints/activity/FootprintDetailEditActivity;)Landroid/widget/TextView;

    move-result-object v0

    const v1, 0x7f0a003c

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 1296
    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method
